.carousel-container {
  position: relative;
  max-width: 1200px;
  width: 95%;
  margin: 0 auto;
}
.page-title{
  margin-bottom: 30px;
}

/* 响应式容器调整 */
@media (max-width: 992px) {
  .carousel-container {
    width: 98%;
  }
}

@media (max-width: 576px) {
  .carousel-container {
    width: 100%;
  }
}

.image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 50vh;
  min-height: 300px;
  max-height: 500px;
  margin-bottom: 50px;
  width: 100%;
  flex-wrap: wrap;
}

/* 中等屏幕响应式调整 */
@media (max-width: 992px) {
  .image-container {
    height: 45vh;
    min-height: 280px;
  }
}

/* 小屏幕响应式调整 */
@media (max-width: 768px) {
  .image-container {
    height: 40vh;
    min-height: 250px;
  }
}

/* 超小屏幕响应式调整 */
@media (max-width: 576px) {
  .image-container {
    height: 35vh;
    min-height: 220px;
  }
}

.image-side {
  width: 25%; /* 调整为 25% */
  height: 65%;
  overflow: hidden;
  position: relative;
  opacity: 0.7;
  transition: transform 0.5s ease, opacity 0.5s ease;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  min-width: 150px;
  will-change: transform, opacity;
  cursor: pointer;
}

.image-center {
  width: 50%; /* 保持 50% 不变 */
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  min-width: 250px;
  cursor: pointer;
}

/* 中等屏幕响应式调整 */
@media (max-width: 992px) {
  .image-side {
    width: 20%; /* 调整为 20% */
    height: 60%;
  }
  
  .image-center {
    width: 60%;
  }
}

/* 小屏幕响应式调整 */
@media (max-width: 768px) {
  .image-side {
    width: 15%; /* 调整为 15% */
    height: 55%;
    min-width: 100px;
  }
  
  .image-center {
    width: 70%;
  }
}

/* 超小屏幕响应式调整 - 隐藏侧边图片 */
@media (max-width: 576px) {
  .image-side {
    display: none;
  }
}

/* 过渡动画样式 */
.fade-enter-active, .fade-leave-active {
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-enter-from, .fade-leave-to {
  opacity: 0;
  transform: scale(0.95);
}

.slide-left-enter-active, .slide-left-leave-active,
.slide-right-enter-active, .slide-right-leave-active {
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.slide-left-enter-from {
  transform: translateX(50%);
  opacity: 0;
}

.slide-left-leave-to {
  transform: translateX(-50%);
  opacity: 0;
}

.slide-right-enter-from {
  transform: translateX(-50%);
  opacity: 0;
}

.slide-right-leave-to {
  transform: translateX(50%);
  opacity: 0;
}

.image-left {
  margin-right: -30px;
  z-index: 1;
}

.image-right {
  margin-left: -30px;
  z-index: 1;
}

.image-center {
  width: 50%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  min-width: 250px;
  cursor: pointer;
}

/* 中等屏幕响应式调整 */
@media (max-width: 992px) {
  .image-center {
    width: 60%;
  }
}

/* 小屏幕响应式调整 */
@media (max-width: 768px) {
  .image-center {
    width: 70%;
  }
}

/* 超小屏幕响应式调整 - 全宽显示 */
@media (max-width: 576px) {
  .image-center {
    width: 90%;
    min-width: 200px;
  }
}

/* 图片样式 */
.project-image, .game-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.image-center .project-image, .image-center .game-image {
  max-height: 100%;
  max-width: 100%;
}

.project-image:hover, .game-image:hover {
  transform: scale(1.05);
}

/* 导航按钮 */
.navigation-buttons {
  position: absolute;
  bottom: -50px;
  right: 0;
  display: flex;
  gap: 15px;
}

.nav-button {
  background: linear-gradient(135deg, #4361ee, #3a0ca3);
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  font-size: 1.2rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(67, 97, 238, 0.4);
  position: relative;
  overflow: hidden;
}

/* 中等屏幕响应式调整 */
@media (max-width: 992px) {
  .nav-button {
    width: 55px;
    height: 55px;
  }
}

/* 小屏幕响应式调整 */
@media (max-width: 768px) {
  .nav-button {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }
}

/* 超小屏幕响应式调整 */
@media (max-width: 576px) {
  .navigation-buttons {
    position: static;
    justify-content: center;
    margin-top: 20px;
  }
  
  .nav-button {
    width: 45px;
    height: 45px;
  }
}

.nav-button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.nav-button:active::after {
  width: 300px;
  height: 300px;
}

.nav-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.nav-button:hover:not(:disabled) {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(67, 97, 238, 0.6);
  animation: pulse 2s infinite;
  will-change: transform, box-shadow;
}

@keyframes pulse {
  0% {
    box-shadow: 0 8px 25px rgba(67, 97, 238, 0.6);
  }
  50% {
    box-shadow: 0 8px 35px rgba(67, 97, 238, 0.8);
  }
  100% {
    box-shadow: 0 8px 25px rgba(67, 97, 238, 0.6);
  }
}

.nav-button:active {
  transform: translateY(0) scale(0.95);
  box-shadow: 0 2px 10px rgba(67, 97, 238, 0.3);
  will-change: transform, box-shadow;
}

/* 指示器 */
.indicator-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

/* 小屏幕响应式调整 */
@media (max-width: 768px) {
  .indicator-dots {
    gap: 8px;
    margin-top: 25px;
  }
  
  .dot {
    width: 10px;
    height: 10px;
  }
}

/* 超小屏幕响应式调整 */
@media (max-width: 576px) {
  .indicator-dots {
    gap: 6px;
    margin-top: 20px;
  }
  
  .dot {
    width: 8px;
    height: 8px;
  }
}

.dot.active {
  background: #4361ee;
  transform: scale(1.2);
}

.dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

/* 响应式设计 */
@media (max-width: 992px) {
  .image-container {
    height: 400px;
  }
  
  .image-side {
    width: 30%;
    height: 60%;
  }
  
  .image-center {
    width: 50%;
  }
}

@media (max-width: 768px) {
  .page-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }
  
  .carousel-container {
    width: 95%;
  }
  
  .image-container {
    height: 350px;
  }
  
  .image-side {
    display: none;
  }
  
  .image-center {
    width: 100%;
  }
  
  .navigation-buttons {
    position: static;
    margin-top: 20px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .page-title {
    font-size: 1.8rem;
  }
  
  .image-container {
    height: 300px;
  }
  
  .image-center .project-image, .image-center .game-image {
    max-height: 200px;
  }
  
  .nav-button {
    width: 50px;
    height: 50px;
  }
}